home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / fntgen.zip / README.NOW < prev   
Text File  |  1992-01-19  |  11KB  |  509 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                           The
  17.                      FONT GENERATOR
  18.                       Version 1.0
  19.  
  20.  
  21.  
  22.                       Users Manual
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                    Sold & Distributed by
  41.  
  42.              Independent Systems / Consultants
  43.                        P.O. Box 1822
  44.                   Bucksport, Maine  04416
  45.  
  46.  
  47.                          written by
  48.  
  49.                      Keith P. Whitaker
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. Introduction:
  58.  
  59. The purpose of the font generator is to interactivly create a
  60. font code from a drawn image for character numbers 32-255. It
  61. is assumed that you already have an understanding of AutoCAD
  62. fonts and text styles.  If you don't, please refer to the
  63. AutoCAD Reference Manual. This document will explain the
  64. functions of the Generator as well as take you through a
  65. supplied example.
  66.  
  67. Please take the time to fill out and return the registration
  68. form included at the end of this document. This will
  69. enable us to keep track of users in order to notify you of
  70. updates and other programs we offer. It also allows us to 
  71. continue writing shareware programs.
  72.  
  73. If you have an idea for a program, contact us. We also provide
  74. custom programs as reasonable rates, even for individuals and
  75. small businesses.
  76.  
  77. Disclaimer:
  78.  
  79. We have tested this program and made every effort to insure
  80. this programs accuracy and compatability. However, in no
  81. event will the copyright holder, distributor and/or dealer of
  82. this program be liable for direct, indirect, special,
  83. incidental, or consequential damages (including,
  84. without limitation, damages for loss of business
  85. information, or other pecuniary loss) resulting from
  86. the use of or inability to use this program, even if advised
  87. of the possability of such damages.
  88.  
  89. Trademark Acknowledgements:
  90.  
  91. AutoCAD and AutoLISP are registered trademarks of Autodesk,
  92. Inc.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.                             i.
  115.                      Table of Contents
  116.  
  117.  
  118.  
  119. Item                                               Page
  120.  
  121. Introduction                                         i
  122.  
  123. Table of Contents                                   ii
  124.  
  125. Installation                                         1
  126.  
  127. Loading the Program                                  1
  128.  
  129. Creating a New Font                                  1
  130.  
  131. Appending an Existing Font                           4
  132.  
  133. Editing an Existing Font                             4
  134.  
  135. Examples                                             4
  136.  
  137. Appendix A - ASCII Codes                             5
  138.  
  139. Appendix B - Bug Report                              6
  140.  
  141. Appendix C - Registration Form                       7
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.                              ii.
  171. Installation:
  172.  
  173.  
  174. To install the Font Generator copy the following files
  175. to the directory where AutoCAD is run from:
  176.  
  177.           FONTGEN.LSP
  178.           FNT1.SLD
  179.  
  180. You are now ready to run the program from within AutoCAD.
  181.  
  182. Unless you intend to look at the  example provided there is
  183. no reason to copy the other files to the hard drive.
  184.  
  185.  
  186. Loading the Program:
  187.  
  188. Enter the AutoCAD drawing editor as you normally do.  You may
  189. start a new drawing or enter an existing drawing.
  190.  
  191. Once you are in you will first need to load the program into
  192. memory.  The Font Generator is a lisp program and will need
  193. to be loaded as follows:
  194.  
  195.         At the Command Prompt type:
  196.  
  197.                   (load "fontgen")
  198.  
  199.         and press return.
  200.  
  201. An initial screen will come up with instructions to press
  202. return to continue.  Doing so will redraw the previous
  203. screen.
  204.  
  205. The program is now loaded and may be run at anytime in the
  206. drawing session. If you leave the drawing editor you will
  207. need to reload the program.
  208.  
  209. Creating a New Font File:
  210.  
  211. Before running the program you will need to have your desired
  212. font drawn on the screen. You can scan, digitize, or draw
  213. your font freehand.  The program uses a basic font size of
  214. 100 units high. In other words, if you create a font
  215. character which is 100 units high, the text drawn on the
  216. screen will be the exact height you specify. I would suggest
  217. drawing construction lines 100 units apart to draw your font
  218. within.
  219.  
  220. The following are valid entities for use with the Generator:
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                           1.
  227.             LINES
  228.             ARCS
  229.             POLYLINES
  230.                Straight Line Segments
  231.                Arc Segments
  232.                Fit Curves
  233.  
  234.  
  235.  
  236.  
  237.  
  238. Once you have the font (or part of the font) drawn on the
  239. screen, you can then run the Font Generator.  Provided you
  240. have loaded the program, you can enter the command FONTGEN at
  241. the command prompt.
  242.  
  243. You will be first asked a name for the font file.  Enter a
  244. name without a path or extention. The file will be placed in
  245. the directory from which AutoCAD is run and be given the
  246. extention .SHP.
  247.  
  248. You will be asked to select each entity which make up each of
  249. the characters individually and enter the following
  250. information (see page three for example):
  251.  
  252.     start point - point where character will be started
  253.                   or inserted.  Similar to insertion point of
  254.                   blocks.
  255.  
  256.     end point - point where next character will be started
  257.                 from.
  258.  
  259.     character name - optional - this is only to help document
  260.                      the font code
  261.  
  262.     character number - the key code number for the character.
  263.                        Key codes for the keyboard are listed
  264.                        in apendix A. 32-255 are valid.
  265.  
  266. When you have finished describing all characters press return
  267. when the program prompts you for the next character.
  268.  
  269. You will then be asked if you wish to compile the text font.
  270. If you answer "yes" to this question, a script file is
  271. written and run which ends the drawing, compiles the font,
  272. and reenters the drawing.
  273.  
  274.        Note: If you intend to rerun the Font Generator you
  275.              will need to reload it if you ended the drawing.
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.                     2.
  283. Page 3 Not Included With Shareware Version
  284.  
  285.  
  286.  
  287. Appending an Existing Font:
  288.  
  289. When a name is entered for a font file which exists, you
  290. will be warned that the font exists and be asked if you wish
  291. to quit, overwrite the file, edit the file, or append the
  292. file.
  293.  
  294. Selecting Append will cause the program to run the same as
  295. explained in creating a new file.  The font file information
  296. will be added the the end of the file specified.
  297.  
  298.     Note: Before appending or editing an existing font it is
  299.           suggested that a backup copy of the original file
  300.           be made.
  301.  
  302. Editing an Existing Font:
  303.  
  304. Selecting the Edit option at the Existing File Warning will
  305. allow you to delete a character definition from a font file.
  306. Once this is done you will be sent to the append section
  307. which will allow you to reenter the character.
  308.  
  309. Examples:
  310.  
  311. An example font file and the drawing file it was created from
  312. is included. It is a simple lettering font hand drawn in
  313. AutoCAD. It should give you some practice with the font
  314. generator.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.                         4.
  343.  
  344.  
  345.  
  346.                    ASCII Key Codes
  347.  
  348.  
  349.  
  350.  
  351.  32    space   56 8           80 P           104 h
  352.  33 !          57 9           81 Q           105 i
  353.  34 "          58 : colon     82 R           106 j
  354.  35 #          50 ; semicolon 83 S           107 k
  355.  36 $          60 <           84 T           108 l
  356.  37 %          61 =           85 U           109 m
  357.  38 &          62 >           86 V           110 n
  358.  39 ' apost    63 ?           87 W           111 o
  359.  40 (          64 @           88 X           112 p
  360.  41 )          65 A           89 Y           113 q
  361.  42 *          66 B           90 Z           114 r
  362.  43 +          67 C           91 [           115 s
  363.  44 ,  comma   68 D           92 \           116 t
  364.  45 -  hyphen  69 E           93 ]           117 u
  365.  46 .  period  70 F           94 ' caret     118 v
  366.  47 /          71 G           95 _ undersc   119 w
  367.  48 0          72 H           96 ' rev apos  120 x
  368.  49 1          73 I           97 a           121 y
  369.  50 2          74 J           98 b           122 z
  370.  51 3          75 K           99 c           123 {
  371.  52 4          76 L          100 d           124 |
  372.  53 5          77 M          101 e           125 }
  373.  54 6          78 N          102 f           126 ~
  374.  55 7          79 0          103 g
  375.  
  376.  
  377.               10 lf  line feed
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.                          5.
  399. Bug Report  (or suggestions for future upgrades)
  400.  
  401.    Hopefully this form will not be necessary as a bug report,
  402.    but if it is, or you would like to suggest an upgrade,
  403.    please fill in all the information requested.
  404.  
  405. Name:_____________________________________
  406. Company:__________________________________
  407. Address:__________________________________
  408. City:_____________State:______Zip:________
  409.  
  410.  
  411.    Hardware:
  412.       Computer:______________________________
  413.          Memory:_________ Hard Drive:________
  414.       Monitor:_______________________________
  415.       Tablet or Mouse:_______________________
  416.  
  417.    Software:
  418.       AutoCAD Version:_______________________
  419.       Other Software Used:___________________
  420.       _______________________________________
  421.       _______________________________________
  422.  
  423.    Description of Problem (or suggestion):
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443. Mail to: Software Development Department
  444.          Independent Systems / Consultants
  445.          P.O. Box 1822
  446.          Bucksport, Maine 04416
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.                             6.
  454. Registration Form
  455.  
  456. Returning this form and registration fee will allow 
  457. us to send you a printed manual, a current version
  458. and to notify you of future updates and other
  459. programs offered. 
  460.  
  461. Send the following information along with a $35.00
  462. registration fee.
  463.  
  464. Name:__________________________________________
  465.  
  466. Company:_______________________________________
  467.  
  468. Address:_______________________________________
  469.  
  470. City:________________State:______Zip:__________
  471.  
  472. Obtained From:________________________________
  473.  
  474. Comments:
  475.  
  476.  
  477.  
  478.  
  479.  
  480. Please Return To:  Customer Records Department
  481.                    Independent Systems / Consultants
  482.                    P.O. Box 46
  483.                    Plymouth, Maine  04969
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.                               7.
  509.